// 根据角色ID查询菜单下拉树结构
import { axios } from "@/utils/request.ts";
import { TTreeDataByRole } from "@/views/system/role/types.ts";

export function roleMenuTreeselect(roleId: number): Promise<TTreeDataByRole> {
  return axios({
    url: "/system/menu/roleMenuTreeselect/" + roleId,
    method: "get",
  });
}
